<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Product.Master" Inherits="QianJin.Views.ProductDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td align="center" class="product_img">
                <img src="<%=QianJin.Views.ViewUtility.GetProductDetailImageUrl(this.Model.Product.id) %>"
                     />
            </td>
        </tr>
        <tr>
            <td style="text-align:center">
                <p style="font-size:medium"><strong>
                    <%=GetString("pd_prodname") %>&nbsp;</strong><%=this.Model.Product.Name %></p>
        <%if (!Model.User.ShoppingCart.IsProductAdded(this.Model.Product.id))
        {%>
                <a href="<%=GetAddToShoppingCartUrl(this.Model.Product.id) %>">
                    <img src="<%= QianJin.Views.ViewUtility.MapImagePath("join_button.jpg")%>"  border="0" /></a>
        <%} %>
            </td>
        </tr>
<%--        <tr>
            <td height="50" style="text-align:center">
                <strong>
                    <%=GetString("pd_prodprice") %></strong> <span class="price">
                        <%=this.Model.Product.Price %></span>
            </td>
        </tr>--%>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0" class="title_bg_2">
        <tr>
            <td align="left">
                &nbsp;&nbsp;<img src="/content/arrow_01.jpg" width="10" height="9" />
                <%=GetString("pd_detail")%>
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <table width="720" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                <%Server.Execute(QianJin.Views.ViewUtility.GetProductDetailUrl(this.Model.Product.id)); %>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
